﻿using System;

namespace bbv.DomainDrivenDesign.Interfaces
{
    public interface IReadOnlyConverter<TDataTransferObject, TEntity>
        where TEntity : class, new()
    {
        Func<TEntity, TDataTransferObject> Convert { get; }
        Action<TDataTransferObject, TEntity> Update { get; }
    }
}